package com.online.manage.domain;


import org.hibernate.validator.constraints.Length;

import com.speedy.core.components.sequence.Sequence;


public class DictInfo implements java.io.Serializable {
	
	/**
	 * 
	 **/
	private static final long serialVersionUID = 6600423665215224883L;
	//可以直接使用: @Length(max=50,message="用户名长度不能大于50")显示错误消息
	//columns START
    /**
     * ID			db_column: ID 
     */	
	@Length(max=32)
	@Sequence(ref="uuidSequenceGenerator")	
	private java.lang.String id;
    /**
     * 编码			db_column: SN 
     */	
	@Length(max=10)
		
	private java.lang.String sn;
    /**
     * 字典名称			db_column: DICT_NAME 
     */	
	@Length(max=40)
		
	private java.lang.String dictName;
    /**
     * 备注			db_column: REMARK 
     */	
	@Length(max=400)
		
	private java.lang.String remark;
	//columns END

	public void setId(java.lang.String id) {
		this.id = id;
	}
	public java.lang.String getId() {
		return this.id;
	}
	public void setSn(java.lang.String sn) {
		this.sn = sn;
	}
	public java.lang.String getSn() {
		return this.sn;
	}
	public void setDictName(java.lang.String dictName) {
		this.dictName = dictName;
	}
	public java.lang.String getDictName() {
		return this.dictName;
	}
	public void setRemark(java.lang.String remark) {
		this.remark = remark;
	}
	public java.lang.String getRemark() {
		return this.remark;
	}

	public String toString() {
		return new StringBuilder("DictInfo [")
			.append("Id=").append(getId()).append(", ")
					.append("Sn=").append(getSn()).append(", ")
					.append("DictName=").append(getDictName()).append(", ")
					.append("Remark=").append(getRemark())
		.append("]").toString();
	}
	
}

